home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / Macros_Files / ReplaceProbesWithBarChart.nsm < prev    next >
Encoding:
Text File  |  2002-03-08  |  2.2 KB  |  56 lines

  1. activeBreadboard. deleteObject ( "activeOutputProbe" )
  2. activeBreadboard. deleteObject ( "activeDesiredProbe" )
  3. activeBreadboard. deleteObject ( "activeCostProbe" )
  4.  
  5. activeBreadboard. stampOnAndMove ( "BarChart" , "outputAxon" )
  6. barChart. setName ( "activeOutputProbe" )
  7. //activeOutputProbe. setAutoNormalize ( TRUE )
  8. activeOutputProbe. setMinNormValue ( -1.000000 )
  9. activeOutputProbe. setMaxNormValue ( 1.000000 )
  10. activeOutputProbe. setActiveAccessPoint ( "Activity" )
  11. activeOutputProbe. setEnableLabels ( TRUE )
  12. activeOutputProbe. setLabelSize ( 30 )
  13. activeOutputProbe. setFontHeight ( 12 )
  14. activeOutputProbe. setFileForColumnHeadings ( "desiredFile" )
  15. activeOutputProbe. loadColumnHeadings (  )
  16. activeOutputProbe. setWantsColumn (TRUE)
  17. activeOutputProbe. setAccessRows (FALSE)
  18. activeOutputProbe. setActiveNeuron (0)
  19. activeOutputProbe. setLabel ( "Output" )
  20.  
  21. activeBreadboard. stampOnAndMove ( "BarChart" , "desiredFile" )
  22. barChart. setName ( "activeDesiredProbe" )
  23. activeDesiredProbe. setAutoNormalize ( TRUE )
  24. activeDesiredProbe. setMinNormValue ( -1.000000 )
  25. activeDesiredProbe. setMaxNormValue ( 1.000000 )
  26. activeDesiredProbe. setEnableLabels ( TRUE )
  27. activeDesiredProbe. setLabelSize ( 30 )
  28. activeDesiredProbe. setFontHeight ( 12 )
  29. activeDesiredProbe. setLabel ( "D" )
  30. activeDesiredProbe. setWantsColumn (TRUE)
  31. activeDesiredProbe. setAccessRows (FALSE)
  32. activeDesiredProbe. setActiveNeuron (0)
  33. activeDesiredProbe. setLabel ( "Desired" )
  34.  
  35. activeBreadboard. stampOnAndMove ( "BarChart" , "criterion" )
  36. barChart. setName ( "activeCostProbe" )
  37. activeCostProbe. setActiveAccessPoint ( "Average Cost" )
  38. activeCostProbe. setMinNormValue ( 0.000000 )
  39. activeCostProbe. setMaxNormValue ( 1.000000 )
  40. activeCostProbe. setEnableLabels ( TRUE )
  41. activeCostProbe. setLabelSize ( 30 )
  42. activeCostProbe. setFontHeight ( 12 )
  43. activeCostProbe. setLabel ( "" )
  44. activeCostProbe. setWantsColumn (TRUE)
  45. activeCostProbe. setAccessRows (FALSE)
  46. activeCostProbe. setActiveNeuron (0)
  47. activeCostProbe. setLabel ( "Cost" )
  48.  
  49. activeOutputProbe. tileWindow (2,4,6,6)
  50. activeDesiredProbe. tileWindow (3,4,6,6)
  51. activeCostProbe. tileWindow (4,4,6,6)
  52.  
  53. activeOutputProbe. setAutosizing ( TRUE )
  54. activeDesiredProbe. setAutosizing ( TRUE )
  55. activeCostProbe. setAutosizing ( TRUE )
  56.